package com.yuandian.api.business_monitor.entity;

import lombok.Data;

import java.util.Date;

/**
 * 端到端关系dto
 *
 * @author: fucx
 * @date: 2020-09-10
 */
@Data
public class SingleResourceItRelationshipDTO {

	private static final long serialVersionUID=1L;

    private Integer id;

    /**
     * 单步业务资源编码/加载项业务资源编码
     */
    private String singleResourceCoding;

    /**
     * 前端业务资源编码
     */
    private String beforeBusinessResourceCoding;

    /**
     * 当前端业务资源编码
     */
    private String afterBusinessResourceCoding;

    /**
     * 发现时间
     */
    private Date startTime;

    /**
     * 匹配率：百分比
     */
    private Double matching;

    /**
     * 发现总量
     */
    private Integer findTotal;

    /**
     * 匹配成功量
     */
    private Integer matchAmount;

    /**
     * 最后一次统计时间
     */
    private Date endTime;

    /**
     * 确认状态 0：否 1：是
     */
    private Integer isStatus;

    /**
     * 修改人
     */
    private String modifier;

    /**
     * 修改时间
     */
    private Date modifierTime;

    /**
     * 后端id
     */
    private Integer afterSegmentId;

    /**
     * 前端id
     */
    private Integer beforeSegmentId;

	/**
	 * 关联查询业务资源类型字段：前端业务资源对应的类型
	 */
	private Integer beforeBusinessResourceType;
	/**
	 * 关联查询业务资源类型字段：后端业务资源对应的类型
	 */
	private Integer afterBusinessResourceType;

	/**
     * 创建人
     */
    private String creater;

    /**
     * 创建时间
     */
	private Date createTime;

	@Override
	public String toString() {
		return "SingleResourceItRelationshipDTO [id=" + id + ", singleResourceCoding=" + singleResourceCoding
				+ ", beforeBusinessResourceCoding=" + beforeBusinessResourceCoding + ", afterBusinessResourceCoding="
				+ afterBusinessResourceCoding + ", startTime=" + startTime + ", matching=" + matching + ", findTotal=" + findTotal
				+ ", matchAmount=" + matchAmount + ", endTime=" + endTime + ", isStatus=" + isStatus + ", modifier=" + modifier
				+ ", modifierTime=" + modifierTime + ", afterSegmentId=" + afterSegmentId + ", beforeSegmentId=" + beforeSegmentId
				+ ", beforeBusinessResourceType=" + beforeBusinessResourceType + ", afterBusinessResourceType="
				+ afterBusinessResourceType + ", creater=" + creater + ", createTime=" + createTime + "]";
	}

}
